﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/ViewMasterPage1.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	SignIn
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <br />
    <br />
    <h2>Sign In</h2>
    <br />

         <% using (Html.BeginForm("LogIn", "Home"))
   { %>
    Username:
     <% =Html.TextBox("UserName") %>
     <br />
     <br />
         Password:
     <% =Html.Password("Password") %>

     <br />

     <br />

      <input type="submit" class="dASButton" value="Log On" />

      
     <% if (ViewData["msg"] != null)
        { %>
        <br />
        <p style='color:Red'>
        <br />
         <%=  (string)ViewData["msg"]%>
         </p>
     <%} %>
   <% } %>

   <br />
   <br />
   If you are not registered, click here:
   <br />

    <a href="/Home/Register"><input type="button" class="dASButton" value="Register" /></a>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
 


</asp:Content>
